package com.hao.statussheet.handler;

/**
 * Created by hao on 16/12/4.
 */
public class ActivitySendService {

    public interface OnMusicOperationListener {
        //暂停的
        void onPause();

        //开始
        void onStart();

        //切换  切换的方向  true为右  false为左
        void onSwith(boolean isLifeOrReight);

        //停止
        void onStop();

        //调节
        void onSeekTo(int seek);

        //数据源切换
        void onSwithAll();

    }

    private static OnMusicOperationListener onMusicOperationListener;

    public static void setOnMusicOperationListener(OnMusicOperationListener onMusicOperationListener) {
        ActivitySendService.onMusicOperationListener = onMusicOperationListener;
    }

    public static OnMusicOperationListener getOnMusicOperationListener() {
        return onMusicOperationListener;
    }
}
